<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <title>Document</title>
  </head>
  <body>
    <a href="javascript:alert('伪协议')">点我</a>
    <script>
      var name = 'jason'
      console.log(name)
    </script>
  </body>
</html>